package com.ecut.property_project.mapper.room;

import com.ecut.property_project.model.room.RoomHead;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoomHeadMapper {
    int deleteByPrimaryKey(String roomId);

    int insert(RoomHead record);

    int insertSelective(RoomHead record);

    List<RoomHead> selectAll();

    List<RoomHead> selectByPage(Integer page, Integer pageSize);

    RoomHead selectByPrimaryKey(String roomId);

    int getRoomCount();

    int updateByPrimaryKeySelective(RoomHead record);

    int updateByPrimaryKey(RoomHead record);

    int getRoomCountByRegion(String region);
}